package com.czk.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 定义接口
 *
 * @Author:ChenZhangKun
 * @Date: 2021/4/6 14:04
 */
@Mapper
public interface UserDao {
    /**
     * 插入
     * @param name
     */
    @Insert("insert into user(name) values (#{name}) ")
    void insert(@Param("name") String name);
}
